package com.jeecms.wicool.entity.cms.base;

import java.sql.Timestamp;

import com.jeecms.cms.entity.main.CmsUser;
import com.jeecms.wicool.entity.shops.ShopInfo;


public abstract class AbstractCmsNewInfo implements java.io.Serializable {

	// Fields

	private Integer id;
	private ShopInfo shop;
	private String title;
	private String simpleContent;
	private String cmsPath;
	private Short isIndex;
	private Integer orderNum;
	private CmsUser publisher;
	private Timestamp createTime;
	private Timestamp updateTime;
	
	private String titleImage;
	private Integer contentId;
	

	// Constructors

	/** default constructor */
	public AbstractCmsNewInfo() {
	}


	public AbstractCmsNewInfo(Integer id, ShopInfo shop, String title,
			String simpleContent, String cmsPath, Short isIndex,
			Integer orderNum, CmsUser publisher, Timestamp createTime,
			Timestamp updateTime,String titleImage,Integer contentId) {
		super();
		this.id = id;
		this.shop = shop;
		this.title = title;
		this.simpleContent = simpleContent;
		this.cmsPath = cmsPath;
		this.isIndex = isIndex;
		this.orderNum = orderNum;
		this.publisher = publisher;
		this.createTime = createTime;
		this.updateTime = updateTime;
		this.titleImage=titleImage;
		this.setContentId(contentId);

	}


	public Integer getId() {
		return id;
	}


	public void setId(Integer id) {
		this.id = id;
	}


	public ShopInfo getShop() {
		return shop;
	}


	public void setShop(ShopInfo shop) {
		this.shop = shop;
	}


	public String getTitle() {
		return title;
	}


	public void setTitle(String title) {
		this.title = title;
	}


	public String getSimpleContent() {
		return simpleContent;
	}


	public void setSimpleContent(String simpleContent) {
		this.simpleContent = simpleContent;
	}


	public String getCmsPath() {
		return cmsPath;
	}


	public void setCmsPath(String cmsPath) {
		this.cmsPath = cmsPath;
	}


	public Short getIsIndex() {
		return isIndex;
	}


	public void setIsIndex(Short isIndex) {
		this.isIndex = isIndex;
	}


	public Integer getOrderNum() {
		return orderNum;
	}


	public void setOrderNum(Integer orderNum) {
		this.orderNum = orderNum;
	}


	public CmsUser getPublisher() {
		return publisher;
	}


	public void setPublisher(CmsUser publisher) {
		this.publisher = publisher;
	}


	public Timestamp getCreateTime() {
		return createTime;
	}


	public void setCreateTime(Timestamp createTime) {
		this.createTime = createTime;
	}


	public Timestamp getUpdateTime() {
		return updateTime;
	}


	public void setUpdateTime(Timestamp updateTime) {
		this.updateTime = updateTime;
	}


	public void setTitleImage(String titleImage) {
		this.titleImage = titleImage;
	}


	public String getTitleImage() {
		return titleImage;
	}


	public void setContentId(Integer contentId) {
		this.contentId = contentId;
	}


	public Integer getContentId() {
		return contentId;
	}





	
	
}